<template>
	<view class="hig" :style="{height:statusBarHeight + 'px'}">
	</view>
</template>

<script setup>
	import {
		inject
	} from 'vue';

	const statusBarHeight = inject('statusBarHeight')
	console.log("status-bar里面获取数据",statusBarHeight)
</script>

<style lang="scss">

</style>